package com.itheima.springboot_reggie;

import org.springframework.util.DigestUtils;

public class Test {
    public static void main(String[] args) {
        String pwd ="123456";   //默认的密码
        String s = DigestUtils.md5DigestAsHex(pwd.getBytes());  // 对密码进行加密
        System.out.println(s);
    }
}
